C code for PEGetExportOptions

To have the Report Engine prompt a user for information to use in the PEExportOptions structure before calling PEExportTo, you can use the PEGetExportOptions function. The following code demonstrates how to call this function:

struct PEExportOptions exportOptions;
exportOptions.StructSize = PE_SIZEOF_EXPORT_OPTIONS;
if (!PEGetExportOptions(Job, &exportOptions)){
    // Handle error
}
    // Now PEExportOptions is filled in
    // We can call PEExportTo if (!PEExportTo(Job, &exportOptions)){
    // Handle error
}


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com